﻿using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using FreeImageAPI;
using System.Windows.Forms;
using System.Drawing;

namespace Imagenator
{
	interface ISaveControl
	{
		Control Control { get; }
		void Close();
		bool BeginSaving();
		void SaveImage(FreeImageBitmap image, FileInfo srcFile, FileInfo destFile, ArgusLib.Controls.ProgressBox.ThreadState threadState);
		void SaveImage(FreeImageBitmap image, Stream stream);
		void EndSaving();
		void SetFormat(FREE_IMAGE_FORMAT format);
	}
}
